package com.neuedu.controller;

import com.neuedu.service.PayService;
import jakarta.annotation.Resource;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pay")
public class PayController {
    @Resource
    private PayService payService;
    @PostMapping("/success")
    String paySuccess(HttpServletRequest request) {
        System.out.println("请求到后端的支付成功");
        return "111111";
    }
}
